{% block ajax_event %}

{% include 'IMTEventBundle:Modal:delete_comment.html.twig' %}
	<div class="ajax_comment">
		<h3>Commentaires</h3>
		{% for comment in comments %}
			<div class="comment span11 comment_{{comment.id}}">
				<div class="remove_comment"></div>
				<input type="hidden" name="id_comment" value="{{comment.id}}" class="id_comment">
				<div class="span4 comment_left">
				<ul class="thumbnails">
					<li>
						<a href="#" class="thumbnail">
							<img width="50" height="50" src="{{ asset('bundles/imtevent/images/avatar1.jpg') }}" alt="">
						</a>
					</li>
				</ul>
				<div class="comment_info">
					<h5>Doe John</h5>
					<div class="comment_text_small">Le {{ comment.date|date("d/m/Y") }} à {{ comment.date|date("H:i:s") }}</div>
				</div>
				</div>
				<div class="span7 comment_right">
					{{ comment.content }} 
				</div>
			</div>
		{% endfor %}
		<div class="clear"></div>
		<div class="btn-toolbar">
		<div>
			<textarea id="comment_content" cols="80" rows="5" style="width:90%;" value="">Tapez ici votre commentaire...</textarea>
		</div>
		<a style="float:right; margin-right:5%;" id="send_comment" href="#" class="btn btn-success">Envoyer mon commentaire</a><br>
	</div>
	</div>
	
{% endblock %}